#include <stdio.h>

#ifndef _WIN32
#include <sys/sysinfo.h>
#include <unistd.h>
#endif // _WIN32

int main(int argc,char* argv[])
{
	printf("Hello world!))\n");
  
	// getting processors configuration
#ifndef _WIN32
	printf(" sysconf_configured=%ld\n", sysconf(_SC_NPROCESSORS_CONF));
	printf(" sysconf_online=%ld\n", sysconf(_SC_NPROCESSORS_ONLN));
	printf(" get_nprocs_conf=%d\n", get_nprocs_conf());
	printf(" get_nprocs=%d\n", get_nprocs());
#endif // _WIN32

	return 0;
}

